SymbCrv2Polyline
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
SymbCrv2Polyline()
SYNOPSIS
symb_lib/symbpoly.c:208
CagdPolylineStruct *SymbCrv2Polyline(CagdCrvStruct *Crv,
int SamplesPerCurve,
CagdBType Optimal,
CagdBType OptiLin)
DESCRIPTION
Routine to approx. a single curve as a polyline with SamplesPerCurve
samples. Polyline is always E3 CagdPolylineStruct type.
NULL is returned in case of an error, otherwise CagdPolylineStruct.
PARAMETERS:
Crv: To approximate as a polyline.
SamplesPerCurve: Number of samples to approximate with.
Optimal: If TRUE, yse optimal approximation of isocurves.
Otherwise, the curve is sampled using equally spaced
samples in parametric space.
OptiLin: If TRUE, optimize linear curves.
FUNCTION RETURN VALUE
CagdPolylineStruct *: A polyline representing the piecewise linear
approximation from, or NULL in case of an error.
SEE ALSO
BspCrv2Polyline,
BzrCrv2Polyline,
IritCurve2Polylines,
,
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- SEE ALSO
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:11 GMT, October 17, 2022